package com.saianfu.flowable.attendence

enum class ApplyType(var code: Int, var label: String? = null) {
    Leave(1, "请假"),
    RevokeLeave(2, "销假"),
    OverTime(3, "加班"),
    BusinessTrip(4, "外出"),
    AdjustCrewScheduling(5, "调班"),
    Certification(6, "人事证明"),
    AttendanceModify(7, "考勤修改申请"),
    AttendanceMonthly(8, "月度考勤申请"),
}

enum class ApplyNode(var code: Int, var label: String? = null) {
    HR(1, "人力资源"),
    GroupLeader(2, "班组组长"),
    Director(3, "科室主任"),
    Manager(4, "部门经理"),
    BranchLeader(5, "分管领导"),
    ViceManager(6, "副总经理"),
    GeneralManager(7, "总经理"),
}

enum class ApplyResult(var code: Int, var label: String? = null) {
    Approved(1, "审批通过"),
    Rejected(0, "驳回"),
    Pending(-1, "待定"),
}